package com.cy.milktea.mapper;

import com.cy.milktea.pojo.Entremets;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EntremetsMapper {

    int insertAllTest(Entremets entremets);

    int insert(Entremets entremets);

    int delete(Integer id);

    int update(Entremets entremets);

    List<Entremets> select(@Param("name") String name,@Param("status") Integer status);

    String selectIamgeById(Integer entremetsId);

}
